/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase2203 - For8
 * <p>Powered by webrx On 2022-07-14 14:03:20
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class For8 {
    public static void main(String[] args) {
        //int n = 3;
        //
        //for (int i = 1; i <= 10; i++) {
        //    System.out.println(i);
        //   }
        //System.out.println("ok");
        //one:
        boolean f = false;
        for (int i = 0; i < 5; i++) {
            if(f) break;
            two:
             for (int i1 = 0; i1 < 5; i1++) {
                 if(f) break;
                for (int i2 = 0; i2 < 5; i2++) {
                    System.out.printf("%d%n",i2);
                    //if(i2==3) break one;
                    if(i2==3){
                        f = true;
                        break;
                    }
                }
            }

        }

        System.out.println("over");




    }
}
